]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
authPrompt: set next button to next when asking for username
authorRay Strode <rstrode@redhat.com>
Fri, 17 Jul 2015 16:57:21 +0000 (12:57 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 24 Jul 2015 13:44:21 +0000 (09:44 -0400)
If the next button ever gets set to Sign In, it won't
get reset to next until the next question asked by pam.

This commit ensures it gets reset to Next when asking
for the username.

https://bugzilla.gnome.org/show_bug.cgi?id=752739

js/gdm/authPrompt.js

index 88d11d7ea1b01a2e57d4f36ce74f40e22baadded..a5c6862a91365cf0f0a4b5ee2ec7a4e62a4b222d 100644 (file)
@@ -432,6 +432,7 @@ const AuthPrompt = new Lang.Class({
         let oldStatus = this.verificationStatus;
         this.verificationStatus = AuthPromptStatus.NOT_VERIFYING;
         this.cancelButton.reactive = true;
+        this.nextButton.label = _("Next");
 
         if (this._userVerifier)
             this._userVerifier.cancel();